<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@include file="/common/common.jsp" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
		<title>新闻 类型管理</title>
		<link rel="stylesheet" href="../style/drp.css">
		<script type="text/javascript" src="/script/public.js">
		<script type="text/javascript">
	
	function addUser() {
		window.self.location = "user_add.html";	
	}
	
	function modifyUser() {
		window.self.location = "user_modify.html";
	}
	
	function deleteUser() {
		
	}
		
	function checkAll() {
	}

	function topPage() {
		
	}
	
	function previousPage() {
		
	}	
	
	function nextPage() {
		
	}
	
	function bottomPage() {
		
	}

</script>
	</head>

	<body class="body1">
		<form name="userform" id="userform">
			<div align="center">
				<table width="95%" border="0" cellspacing="0" cellpadding="0"
					height="35">
					<tr>
						<td class="p1" height="18" nowrap>&nbsp;
							
						</td>
					</tr>
					<tr>
						<td width="522" class="p1" height="17" nowrap>
							<img src="../images/mark_arrow_02.gif" width="14" height="14">
							&nbsp;
							<b>新闻管理系统&gt;&gt;新闻类型维护</b>
						</td>
					</tr>
				</table>
				<hr width="100%" align="center" size=0>
			</div>
			<table width="95%" height="20" border="0" align="center"
				cellspacing="0" class="rd1" id="toolbar">
				<tr>
					<td width="49%" class="rd19">
						<font color="#FFFFFF">查询列表</font>
					</td>
					<td width="27%" nowrap class="rd16">
						<div align="right"></div>
					</td>
				</tr>
			</table>
			<table width="95%" border="1" cellspacing="0" cellpadding="0"
				align="center" class="table1">
				<tr>
					<td width="55" class="rd6">
						序号
					</td>
					<td width="119" class="rd6">
						类型名称
					</td>
					<td width="152" class="rd6">
						描述
					</td>
					<td width="153" class="rd6">
						显示名称
					</td>
					<td width="153" class="rd6">
						创建日期
					</td>
					<td width="153" class="rd6">
						操作
					</td>
				</tr>
				<c:forEach items="${pm}" var="type">
				
				<tr>
					<td class="rd8">
						${type.id}
					</td>
					<td class="rd8">
						${type.name}
					</td>
					<td class="rd8">
						${type.description}
					</td>
					<td class="rd8">
						${type.showName}
					</td>
					<td class="rd8">
					<fmt:formatDate value="${type.createTime}" type="date"/>

					</td>
					<td class="rd8">
						<input name="btnDelete" class="button1" type="button"
								id="btnDelete" value="删除" onClick="del('/type!del.action?id=${type.id}','你确定要删除吗');">
							<input name="btnModify" class="button1" type="button"
								id="btnModify" value="修改" onClick="openWin('/type!updateInput.action?id=${type.id}','type',600,300,1);">
					</td>
				</tr>
				
				</c:forEach>
			</table>
			<table width="95%" height="30" border="0" align="center"
				cellpadding="0" cellspacing="0" class="rd1">
				<tr>
					<td nowrap class="rd19" height="2">
						
					</td>
					<td nowrap class="rd19">
						<div align="right">
							<input name="btnAdd" type="button" class="button1" id="btnAdd"
								value="添加" onClick="openWin('/type!addInput.action','type',600,300,1);">
							
						</div>
					</td>
				</tr>
			</table>
			<p>&nbsp;
				
			</p>
		</form>
	</body>
</html>
